package com.lxb;

public class Test_info {
    public static void main(String[] args) {

        String str1 = "llooo";
        String str2 = "ll";

        String substring = str1.substring(0, 2);

        System.out.println(substring.toString());

        if(str1.equals(substring)){
            System.out.println(true);
        }

    }
}
